
package jfireeagle;

import java.util.*;

public class User 
{
	private Token accessToken;
	private LocationHierarchy locationHierarchy;
	private boolean readable = false;
	private boolean writable = false;
	private Calendar locatedAt;
	private String token;
	
	public User()
	{
		super();
	}
	
	public Token getUserSpecificAccessToken()
	{
		return accessToken;
	}

	
	public void setUserSpecificAccessToken(Token t)
	{
		this.accessToken = t;
	}

	public boolean isReadable()
	{
		return readable;
	}

	public void setReadable(boolean b)
	{
		this.readable = b;
	}

	public boolean isWritable()
	{
		return writable;
	}

	public void setWritable(boolean b)
	{
		this.writable = b;
	}


	public LocationHierarchy getLocationHierarchy()
	{
		return locationHierarchy;
	}

	public void setLocationHierarchy(LocationHierarchy h)
	{
		this.locationHierarchy = h;
	}

	public Calendar getLocatedAt()
	{
		return locatedAt;
	}

	public void setLocatedAt(Calendar c)
	{
		this.locatedAt = c;
	}

	public String getToken()
	{
		return token;
	}

	public void setToken(String t)
	{
		this.token = t;
	}
	


	
}
